package org.easychat.response;


import lombok.Getter;

/**
 * @Description
 * @Author Deyun
 * @Date 2024/4/25 17:41
 */
@Getter
public enum RestatusEnum {

    /**
     * SUCCESS
     */
    SUCCESS(200,"成功"),
    /**
     * Fail rsp status enum.
     */
    FAIL(999,"失败"),
    /**
     * Exception rsp status enum.
     */
    EXCEPTION(500,"系统异常");



    private final int code;

    private final String message;

    RestatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
